package org.framework.define.bean.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the tbl_task_rule database table.
 * 
 */
@Entity
@Table(name="tbl_task_rule")
public class TblTaskRule implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(unique=true, nullable=false)
	private int id;

	@Column(name="rule_coins", nullable=false, precision=10, scale=2)
	private BigDecimal ruleCoins;

	@Column(name="rule_mult_coins", nullable=false, precision=3, scale=2)
	private BigDecimal ruleMultCoins;

	@Column(name="rule_name", nullable=false, length=255)
	private String ruleName;

	@Column(name="rule_remark", nullable=false, length=50)
	private String ruleRemark;

	@Column(name="rule_type", nullable=false)
	private int ruleType;

	public TblTaskRule() {
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public BigDecimal getRuleCoins() {
		return this.ruleCoins;
	}

	public void setRuleCoins(BigDecimal ruleCoins) {
		this.ruleCoins = ruleCoins;
	}

	public BigDecimal getRuleMultCoins() {
		return this.ruleMultCoins;
	}

	public void setRuleMultCoins(BigDecimal ruleMultCoins) {
		this.ruleMultCoins = ruleMultCoins;
	}

	public String getRuleName() {
		return this.ruleName;
	}

	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}

	public String getRuleRemark() {
		return this.ruleRemark;
	}

	public void setRuleRemark(String ruleRemark) {
		this.ruleRemark = ruleRemark;
	}

	public int getRuleType() {
		return this.ruleType;
	}

	public void setRuleType(int ruleType) {
		this.ruleType = ruleType;
	}

}